package org.jeecg.modules.basic.iouser.service;

import org.jeecg.modules.basic.iouser.entity.LwgyInoutUser;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * @Description: 出入人员名单
 * @Author: jeecg-boot
 * @Date:   2021-03-19
 * @Version: V1.0
 */
public interface ILwgyInoutUserService extends IService<LwgyInoutUser> {
    String saveIouserToPublic(LwgyInoutUser lwgyInoutUser) throws Exception;
    String saveIouserToPrivate(LwgyInoutUser lwgyInoutUser) throws Exception;
    String updateIouserToPublic(LwgyInoutUser lwgyInoutUser) throws Exception;
    String updateIouserToPrivate(LwgyInoutUser lwgyInoutUser) throws Exception;
    LwgyInoutUser getUserByStudentId(String studentId);
    String getGroupIdByBuildingId(String buildingId);
    //通过商汤接口校验人像质量(公有云)
    String qualityToPublic(String avatarFile) throws Exception;
    //通过商汤接口校验人像质量(私有云)
    String qualityToPrivate(String avatarFile) throws Exception;
    //获取系统中没有userId的数据列表（未同步到商汤）
    List<LwgyInoutUser> selectNoUserId();
    List<Map<String, String>> getGroupData(String type);
    //添加人员到分组(没用)
    String addGroupsToPrivate(LwgyInoutUser lwgyInoutUser) throws Exception;
    //更新人员到分组
    String updateGroupsToPrivate(LwgyInoutUser lwgyInoutUser) throws Exception;

}
